package com.general.rest.client.api;

import com.general.rest.client.api.domain.User;

import javax.ws.rs.BeanParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

/**
 * @description: ShutdownService
 * @author: general
 * @version: 1.0
 * @create: 2021-07-18 21:53
 **/

public interface ShutdownService {


    @POST
    @Path("/actuator/shutdown")
    @Produces("application/json")
    String shutdown();

    @POST
    @Path("/user/save")
    @Produces("application/json")
    String saveUser(@BeanParam  User user);


}
